home *** CD-ROM | disk | FTP | other *** search
- //
- // Generated by Microsoft (R) D3DX9 Shader Compiler 9.04.91.0000
- //
- // fxc /T ps_2_0 /DCGC=0 /Fc ..\..\WorkDir\Shaders\ps\ps2_0_hdr_star.psh
- // ps2_0_hdr_star.cg
- //
- //
- // Parameters:
- //
- // sampler2D $Tex0;
- // float4 $TexCoordOffset[8];
- // float4 $TexCoordWeight[8];
- //
- //
- // Registers:
- //
- // Name Reg Size
- // --------------- ----- ----
- // $TexCoordOffset c0 8
- // $TexCoordWeight c8 8
- // $Tex0 s0 1
- //
-
- ps_2_0
- dcl t0.xy
- dcl_2d s0
- add r7.xy, t0, c1
- add r6.xy, t0, c0
- add r5.xy, t0, c2
- add r4.xy, t0, c3
- add r3.xy, t0, c4
- add r2.xy, t0, c5
- add r1.xy, t0, c6
- add r0.xy, t0, c7
- texld r7, r7, s0
- texld r6, r6, s0
- texld r5, r5, s0
- texld r4, r4, s0
- texld r3, r3, s0
- texld r2, r2, s0
- texld r1, r1, s0
- texld r0, r0, s0
- mul r7, r7, c9
- mad r6, c8, r6, r7
- mad r5, c10, r5, r6
- mad r4, c11, r4, r5
- mad r3, c12, r3, r4
- mad r2, c13, r2, r3
- mad r1, c14, r1, r2
- mad r0, c15, r0, r1
- mov oC0, r0
-
- // approximately 25 instruction slots used (8 texture, 17 arithmetic)
-